package com.jweb.framework.core.impl;

import com.jweb.framework.core.Interceptor;
import com.jweb.framework.core.Interceptors;


public class DefaultInterceptors implements Interceptors {
	
	private static Interceptor[] defInterceptor = new Interceptor[0];
	private String id ;
	private Interceptor[] interceptors ;
	
	public DefaultInterceptors(Interceptor interceptors[] , String id){
		this.interceptors = defInterceptor ;
		this.interceptors = interceptors ;
		this.id = id ;
	}
	
	public Interceptor[] getInterceptors(){
		return this.interceptors ;
	}
	
	public String getName(){
		return this.id ;
	}

}
